let express = require('express');
let router = express.Router();
const { auth } = require('../controllers/index')
const {
    add, list, findOne, update, remove
} = require('../controllers/position')

router.post('/add', auth, add)
router.get('/list', auth, list)
router.get('/one', auth, findOne)
router.put('/update', auth, update)
router.delete('/remove', auth, remove)

module.exports = router;